package com.xuecheng.api.cms;

import com.xuecheng.framework.model.response.ResponseResult;
import com.xuecheng.framework.web.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;

@Api("提供静态化的页面")
public interface CmsStaticControllerApi {
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "页面id", required = true, paramType = "path", dataType = "int"),
    })
    void findByPageId(String id);
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "页面id", required = true, paramType = "path", dataType = "int"),
    })
    public ResponseResult publish(String id);
}
